﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Redboil.Bfp.Model;
using System.ServiceModel.Activation;
using System.ServiceModel;
using System.ServiceModel.Web;

namespace Redboil.Bfp.Web.Services {
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    [ServiceContract]
    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
    public class AuthenticationService {
        //[WebGet(UriTemplate = "", ResponseFormat = WebMessageFormat.Json)]
        [OperationContract]
        public IList<User> GetAll() {
            return new List<User>() { new User() { Account = "Michael" }, new User() { Account = "Joe" } };
        }
    }
}